Lang="English";
mAnalysis="yes";
gotoLang='English';
var gotoURL="";
function doHourglass(){document.body.style.cursor = 'wait';}
function handleSuccess(component, eventId)
{
try{
window.status = component.GetUserID();
document.getElementById("PC").innerHTML="PromoCode:" + component.GetUserID();
}catch(ex){}
try{document.getElementById("pcode").value=component.GetUserID();}catch(ex){}
try{document.getElementById("scode").value=component.GetSerialID();}catch(ex){}
try
{
var bName = document.getElementById("txtBtnName");
if(bName.value != "")
{
var b = document.getElementById(bName.value);
b.click();
}
}
catch(ex){}
}
function SendEvent(eventname,username)
{try{if(eventname=='hphit')eventname='%3Fhphit';
emerpec.document.location="/emerp/events/EMERPEventCollector.aspx?p=0&EventName="+eventname+"&DoOnSuccess=true&account="+username;}catch(ex){}
}
function GotoRegister()
{ doHourglass();
SendEventWithCallback("playnow", "", "GotoRegisterPost");
setTimeout("GotoRegisterPost();", 2000);}
function GotoRegisterPost() {document.location.href = '/emerp/landing/masterLP/regLP.aspx?lang=' + gotoLang + '&content=account_type_std&ct=1'}
//function GotoRegisterPost() {document.location.href = "http://www.iforex.com/scripts/noTrading.aspx?act=lang&lang=" + gotoLang;}
function GotoLoginPost() {
document.location.href = loginUrl + gotoLang;
// var noTrade = '';
// var noTradeLink = '';
// if(noTrade == "true")
// {
// if(gotoLang == "Italian")
// {
// gotoLang = "Italiano";
// }
// document.parentWindow.parent.location.href = noTradeLink + gotoLang;
// }
// else
// {
// document.location.href = "https://trader.iforex.com/Webpl/public/login.aspx?lang="+gotoLang;
// }
return false;
}
function goToDownload(windowname) {
href = "http://download.iforex.com/FxnetInstallTrader/publish.htm";
window.open(href, windowname, 'width=619,height=678,scrollbars=no');
//download the FXnet Software;
return false;
}
function goToDownloadJapanese(windowname) {
href = "http://download.iforex.com/FXnetInstallTrader/publish_Japanese.htm";
window.open(href, windowname, 'width=619,height=678,scrollbars=no');
//download the FXnet Software;
return false;
}
//function GotoLoginPost() {document.location.href = "http://www.iforex.com/scripts/noTrading.aspx?act=lang&lang=" + gotoLang;}
function GotoLoginPost2() {
document.location.href = loginUrl + gotoLang;
return false;
}
function GotoLogin()
{
if(gotoLang == "Italiano")
{
gotoLang = "Italian";
}
doHourglass();
SendEventWithCallback("playnow", "", "GotoLoginPost");
setTimeout("GotoLoginPost();", 2000);}
function GotoLoginTrader2()
{ doHourglass();
SendEventWithCallback("playnow", "", "GotoLoginPost");
setTimeout("GotoLoginPost();", 2000);}
function SendEvent2(){try{emerpec.document.location.replace("/emerp/events/EMERPEventCollector.aspx?p=0&EventName=playnow&OnSuccess=handleSuccess2&account=");}catch(ex){}}
function SendEvent3(){try{emerpec.document.location.replace("/emerp/events/EMERPEventCollector.aspx?p=0&EventName=demoreg&OnSuccess=handleSuccess2&account=");}catch(ex){}}
function SendEventWithCallback(eventname, username, callback){
try{callback = (callback) ? callback : "handleSuccess";if(eventname=='hphit')eventname='%3Fhphit';
emerpec.document.location.replace("/emerp/events/EMERPEventCollector.aspx?p=0&EventName="+eventname+"&OnSuccess="+callback+"&account="+username);}catch(ex){}}
Bahasa Indonesia
Bahasa Melayu
Deutsch
English
Español
Français
Italiano
Magyar
Nederlands
Português
RomânÄ
Tagalog
Türkçe
Ð ÑÑÑкий
عربÙ
à¤à¤à¤à¥à¤°à¥à¤à¤¼à¥
䏿 (ç®ä½)
æ¥æ¬èª
QuotesResearchSupportLearningAboutContact
USD QuotesCross QuotesExotic Currencies QuotesHistorical Exchange RatesEconomic CalendarDaily AnalysisChartsForex NewsInterestForward CalculatorCurrency ConversionFAQ GeneralSupport CenterMarket IntroTrading ToolsFundamental and Technical AnalysisEducational PackageGlossaryFX BookiFOREX Company ProfileiFOREX Trading BenefitsService ExcellenceStop-Loss PolicyMargin RequirementsHomeContact UsRequest Form
var tmpImg = new Image();
tmpImg.src = "/img/gen/bg_downm.gif";
var pageWidth=778;
var itemWidth=129;
var pageDir="ltr";
var numOfPages=6;
var currentMenu=-1;
function LI_HiLight(item){
item.className="subMenuHi";
}
function LI_DeHiLight(item){
item.className="subMenu";
}
var str="";
function chkMenu(e,myID) {
if (!e){
var e = window.event;
}
var tg = (window.event) ? e.srcElement : e.target;
if (tg.id != myID){
}
var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
while (reltg.id != myID && reltg.nodeName != 'BODY'){
reltg = reltg.parentNode
}
if (reltg == tg || reltg.id==myID){
}else{
hideSubMenus();
}
}
function showSubMenu(ind,obj){
hideSubMenus(ind);
obj.className = "rootMenuSelected";
currentMenu=ind;
document.getElementById("dv"+ind).style.visibility="visible";
if (pageDir=="ltr"){
if (document.body.offsetWidth>pageWidth){
pos=(document.body.clientWidth-pageWidth)/2;
pos=pos+document.getElementById("CtlUpMenu1_rc"+ind).offsetLeft+0;
}else{
pos=document.getElementById("CtlUpMenu1_rc"+ind).offsetLeft+1;
}
}else{
if (document.body.offsetWidth>pageWidth){
pos=(document.body.clientWidth-pageWidth)/2;
pos=pos+document.getElementById("CtlUpMenu1_rc"+ind).offsetLeft-25;
}else{
if(navigator.appVersion.match(/MSIE (.+?);/)){ //its IE
gap=pageWidth-document.body.clientWidth;
pos=document.getElementById("CtlUpMenu1_rc"+ind).offsetLeft-gap-27;
window.status=document.getElementById("CtlUpMenu1_rc"+ind).offsetLeft+" - "+document.body.clientWidth;
}else{
pos=document.getElementById("CtlUpMenu1_rc"+ind).offsetLeft-26;
}
}
}
document.getElementById("dv"+ind).style.left=pos;
}
function hideSubMenus(ind){
var rm = new String();
rm = "";
rm = "";
var selectedMenu = "";
if(rm != "")
{
//selectedMenu = rm.split('_')[0];
selectedMenu = "CtlUpMenu1_" + rm;
}
for(i=0;i |